home *** CD-ROM | disk | FTP | other *** search
- PROGRAM NAME: Report.PRG
-
- DESCRIPTION: Custom reporting in dBASE III.
-
- ISSUE: October, 1985
- PAGE: 4
-
- SOFTWARE VERSIONS: dBASE III, versions 1.0, 1.1
-
- FUNCTION: This program creates a report using two database files
- linked together on a common field with SET RELATION TO. This
- example creates a report of student referrals by recruiter for a
- school.
-
- FILES NEEDED: Report.PRG
- Referral.DBF
- Recruit.DBF
-
-
- SETUP INSTRUCTIONS: First, CREATE Referral.DBF and Recruit.DBF
- with the following structures:
-
- Structure for Referral.DBF:
-
- Field Field name Type Width
-
- 1 REF_CODE Character 3
- 2 CENTER Character 15
- 3 NAME Character 20
- 4 LEVEL Character 3
-
- Structure for Recruit.DBF:
-
- Field Field name Type Width
-
- 1 REF_CODE Character 3
- 2 NAME Character 20
- 3 ADDRESS Character 20
- 4 CITY Character 15
- 5 STATE Character 2
- 6 ZIP Character 5
-
- To run the report, type DO Report from the dot prompt. You can
- change the names of the database files and field names to reflect
- your application.